<script>
function abc(){
 var name=document.getElementById('search_key');
 name.className="ipt12";
}
function cc(x){
 var name=document.getElementById("con_five_"+x);
 var list=document.getElementById("five"+x);
 name.style.display="none";
 list.className="";
}
function setTab(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var con=document.getElementById("con_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  con.style.display=i==cursel?"block":"none";
 }
}

</script>
     <!--左侧结束 右侧开始-->

	 <div class="hot_links">
			<ul class="hot_links_tab">
			   <li id="two1" onmouseover="setTab('two',1,2)"  class="hover" style="border-right:1px solid #C7C7C7;">今日人气榜</li><li id="two2" onmouseover="setTab('two',2,2)">每周人气榜</li>
			</ul>
			<div id="con_two_1" class="hot_links_box hover">
                 	 

         <div class="star star03">
            <h2><div class="com_tit">chinese</div></h2>
            <ul>
                <?php
          $i=0;
                  foreach($arrChinese as $row){
                        //echo link_to(image_tag($row['snapshot']), 'photomodule/index');
                          if($i==$recordCount)
                         {
                             break;
                         }
                         $i++;
                      echo " <li>";
                          ?>
                              <?php echo link_to("<img src='".$row['snapshot_big']."' />","celebrity/detail?celebrityId=".$row["celebrity_id"],"target='_blank'"); ?>
                          <?php echo "<p><a href='#' target='_blank'>".$row['name']."</a></p></li>";
                  }
 ?>

               <li><a href="#" target="_blank"><img src="/images/img09.jpg" /></a><p><a href="#" target="_blank">汪中不</a></p></li>
            </ul>
         </div>
         <!--chinese结束-->
         <div class="star star03" style="margin-top:0;">
            <h2><div class="com_tit" >K-POP</div></h2>
            <ul>
               <?php
          $i=0;
                  foreach($arrKpop as $row){
                        //echo link_to(image_tag($row['snapshot']), 'photomodule/index');
                          if($i==$recordCount)
                         {
                             break;
                         }
                         $i++;
                 echo "<li>";
                          ?>
                              <?php echo link_to("<img src='".$row['snapshot_big']."' />","celebrity/detail?celebrityId=".$row["celebrity_id"],"target='_blank'"); ?>
                          <?php echo "<p><a href='#' target='_blank'>".$row['name']."</a></p></li>";
                  }
 ?>

               <li><a href="#" target="_blank"><img src="/images/img09.jpg" /></a><p><a href="#" target="_blank">汪中不</a></p></li>
            </ul>
         </div>
         <!--K-POP结束-->
         <div class="star star03" style="margin-top:0;">
            <h2><div class="com_tit" >J-POP</div></h2>
            <ul>
              <?php
          $i=0;
                  foreach($arrJpop as $row){
                        //echo link_to(image_tag($row['snapshot']), 'photomodule/index');
                          if($i==$recordCount)
                         {
                             break;
                         }
                         $i++;
                 echo "<li>";
                          ?>
                              <?php echo link_to("<img src='".$row['snapshot_big']."' />","celebrity/detail?celebrityId=".$row["celebrity_id"],"target='_blank'"); ?>
                          <?php echo "<p><a href='#' target='_blank'>".$row['name']."</a></p></li>";
                  }
 ?>
               <li><a href="#" target="_blank"><img src="/images/img09.jpg" /></a><p><a href="#" target="_blank">汪中不</a></p></li>
            </ul>
         </div>
         <!--J-POP结束-->
         <div class="star star03" style="margin-top:0;">
            <h2><div class="com_tit" >western</div></h2>
            <ul>
              <?php
          $i=0;
                  foreach($arrWestern as $row){
                        //echo link_to(image_tag($row['snapshot']), 'photomodule/index');
                          if($i==$recordCount)
                         {
                             break;
                         }
                         $i++;
                 echo "<li>";
                          ?>
                              <?php echo link_to("<img src='".$row['snapshot_big']."' />","celebrity/detail?celebrityId=".$row["celebrity_id"],"target='_blank'"); ?>
                          <?php echo "<p><a href='#' target='_blank'>".$row['name']."</a></p></li>";
                  }
 ?>
               <li><a href="#" target="_blank"><img src="/images/img09.jpg" /></a><p><a href="#" target="_blank">汪中不</a></p></li>
            </ul>
         </div>
         <!--western结束-->
			</div>
			<div id="con_two_2" class="hot_links_box" style="display:none">
              <div class="star star03">
            <h2><div class="com_tit">chinese</div></h2>
            <ul>
               <?php
          $i=0;
                  foreach($arrChinese_w as $row){
                        //echo link_to(image_tag($row['snapshot']), 'photomodule/index');
                          if($i==$recordCount)
                         {
                             break;
                         }
                         $i++;
                 echo "<li>";
                          ?>
                              <?php echo link_to("<img src='".$row['snapshot_big']."' />","celebrity/detail?celebrityId=".$row["celebrity_id"],"target='_blank'"); ?>
                          <?php echo "<p><a href='#' target='_blank'>".$row['name']."</a></p></li>";
                  }
 ?>
               <li><a href="#" target="_blank"><img src="/images/img09.jpg" /></a><p><a href="#" target="_blank">汪中不</a></p></li>
            </ul>
         </div>
         <!--chinese结束-->
         <div class="star star03" style="margin-top:0;">
            <h2><div class="com_tit" >K-POP</div></h2>
            <ul>
              <?php
          $i=0;
                  foreach($arrKpop_w as $row){
                        //echo link_to(image_tag($row['snapshot']), 'photomodule/index');
                          if($i==$recordCount)
                         {
                             break;
                         }
                         $i++;
                 echo "<li>";
                          ?>
                              <?php echo link_to("<img src='".$row['snapshot_big']."' />","celebrity/detail?celebrityId=".$row["celebrity_id"],"target='_blank'"); ?>
                          <?php echo "<p><a href='#' target='_blank'>".$row['name']."</a></p></li>";
                  }
 ?>
               <li><a href="#" target="_blank"><img src="/images/img09.jpg" /></a><p><a href="#" target="_blank">汪中不</a></p></li>
            </ul>
         </div>
         <!--K-POP结束-->
         <div class="star star03" style="margin-top:0;">
            <h2><div class="com_tit" >J-POP</div></h2>
            <ul>
               <?php
          $i=0;
                  foreach($arrJpop_w as $row){
                        //echo link_to(image_tag($row['snapshot']), 'photomodule/index');
                          if($i==$recordCount)
                         {
                             break;
                         }
                         $i++;
                 echo "<li>";
                          ?>
                              <?php echo link_to("<img src='".$row['snapshot_big']."' />","celebrity/detail?celebrityId=".$row["celebrity_id"],"target='_blank'"); ?>
                          <?php echo "<p><a href='#' target='_blank'>".$row['name']."</a></p></li>";
                  }
 ?>
               <li><a href="#" target="_blank"><img src="/images/img09.jpg" /></a><p><a href="#" target="_blank">汪中不</a></p></li>
            </ul>
         </div>
         <!--J-POP结束-->
         <div class="star star03" style="margin-top:0;">
            <h2><div class="com_tit" >western</div></h2>
            <ul>
              <?php
          $i=0;
                  foreach($arrWestern_w as $row){
                        //echo link_to(image_tag($row['snapshot']), 'photomodule/index');
                          if($i==$recordCount)
                         {
                             break;
                         }
                         $i++;
                 echo "<li>";
                          ?>
                              <?php echo link_to("<img src='".$row['snapshot_big']."' />","celebrity/detail?celebrityId=".$row["celebrity_id"],"target='_blank'"); ?>
                          <?php echo "<p><a href='#' target='_blank'>".$row['name']."</a></p></li>";
                  }
 ?>
               <li><a href="#" target="_blank"><img src="/images/img09.jpg" /></a><p><a href="#" target="_blank">汪中不</a></p></li>
            </ul>
         </div>
         <!--western结束-->
			</div>
		 </div>



